package com.qmx.qmxapp.bean;

import java.io.Serializable;

/**
 * @author chengxiangtong
 * @date 2018/12/15
 * version : 1.0
 * class describe：*
 */
public class DrawBoardData implements Serializable {
    public enum DataType {POINT, COMMAND, COLOR, STROKE}

    private DataType type;
    private Object data;

    public DrawBoardData(DataType type) {
        this(type, null);
    }

    public DrawBoardData(DataType type, Object data) {
        this.type = type;
        this.data = data;
    }

    public DataType getType() {
        return type;
    }

    public Object getData() {
        return data;
    }
}
